import { ref, onMounted, onUnmounted } from 'vue'

export const startTime = ref<number>(0)
export const endTime = ref<number>(0)

onMounted(() => {
  startTime.value = new Date().getTime()
})

onUnmounted(() => {
  endTime.value = new Date().getTime()
})

